package com.example.springboot_shiro.domain.test;

import com.example.springboot_shiro.domain.test.RoleAuthorityExt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 角色权限联系表
 *
 * @author lqy
 * @date 2021/09/13 10:05:02
 */
@ApiModel(value = "com.example.springboot_shiro.domain.test.RoleAuthority")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RoleAuthority extends RoleAuthorityExt {
    /**
     *
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "roleId角色id")
    private Integer roleId;

    /**
     * 权限id
     */
    @ApiModelProperty(value = "authorityId权限id")
    private Integer authorityId;
}